package com.itshidu.jiaowu.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-08
 */
@TableName("student_classes")
public class StudentClasses implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 班级id
     */
    @TableField("classes_id")
    private Long classesId;
    /**
     * 学生ID
     */
    @TableField("student_id")
    private Long studentId;
    /**
     * 入班时间
     */
    @TableField("join_date")
    private Date joinDate;
    /**
     * 离班时间
     */
    @TableField("out_date")
    private Date outDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getClassesId() {
        return classesId;
    }

    public void setClassesId(Long classesId) {
        this.classesId = classesId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Date getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(Date joinDate) {
        this.joinDate = joinDate;
    }

    public Date getOutDate() {
        return outDate;
    }

    public void setOutDate(Date outDate) {
        this.outDate = outDate;
    }

    @Override
    public String toString() {
        return "StudentClasses{" +
        ", id=" + id +
        ", classesId=" + classesId +
        ", studentId=" + studentId +
        ", joinDate=" + joinDate +
        ", outDate=" + outDate +
        "}";
    }
}
